using System.Collections.Generic;
using Domain.Entities;

namespace Domain.Repositories
{
    public interface IRepository<T> where T : IEntity
    {
        T Get(int id);
        T Load(int id);
        void Save(T entity);
        void Delete(T entity);
        IEnumerable<T> GetAll();
    }
}